package com.fxp.project.jiuselu.web.models.commission.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fxp.project.jiuselu.web.models.user.entity.JslUser;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "jsl_commission")
public class JslSaleCommission implements Serializable {
    /** id */
    @TableId("id")
    private Long id;

    /** 结算单号 */
    @TableField("statementno")
    private String statementno;

    /** 用户id */
    @TableField("userid")
    private Long userid;
    @TableField(exist = false)
    private JslUser user;

    /** 佣金金额 */
    @TableField("amount")
    private BigDecimal amount;

    /** 状态(0未结算,1已结算) */
    @TableField("status")
    private Long status;

    /** 支行名称 */
    @TableField("ban_sub_branch_name")
    private String banSubBranchName;

    /** 操作(0打款1已结算) */
    @TableField("state")
    private Long state;

    /** 银行名称 */
    @TableField("bank_name")
    private String bankName;

    /** 银行卡id */
    @TableField(exist = false)
    private String bankId;

    /** 持卡人姓名 */
    @TableField("card_user_name")
    private String cardUserName;

    /** 昵称 */
    @TableField("nick_name")
    private String nickName;

    /** 持卡人手机号 */
    @TableField("card_user_phone")
    private String cardUserPhone;

    /** 卡号 */
    @TableField("card_num")
    private String cardNum;
    /** 卡号 */
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;
}
